<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>视频播放页面</title>
  <script>
    function redirectToIndex() {
      window.location.href = 'index.html';
    }
  </script>
</head>

<body>
  <!-- 添加了 autoplay 和 muted 属性，并绑定了 ended 事件 -->
  <video width="1500" height="830" controls autoplay muted onended="redirectToIndex()">
    <source src="/image/3.mp4" type="video/mp4">
    您的浏览器不支持视频播放。
  </video>
</body>

</html>